Version

Item Property (ImmutableIndexedCollectionBase<T>)

Returns the item at the specified ordinal position within this collection, optionally bypassing creation of the object.
Syntax
'Declaration
 
Public ReadOnly Default Property Item( _
   ByVal index As Integer, _
   Optional ByVal create As Boolean _
) As T
public T this[ 
   int index,
   bool create
]; {get;}

Parameters

index
The index of the item to be returned.
create
Specifies whether the item at the specified index should be created if it does not yet exist. This indexer can be used to determine whether an instance has been created, by specifying false for this parameter. In this case, null is returned if no instance has yet been created.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also